<!DOCTYPE html>
<html lang="en" dir="ltr">

<head>
  <meta name="generator" content="Hugo 0.82.1" />
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="总览#内容#项目类# 介绍 安装 管理 Go 模块 调试 k8s/docker Formatter 和 Linter 资源 值得学习的开源项目  开发类# 基本的数据类型 变量初始化 基本的语法 结构类型 json tags RPC 关键知识点 数据转换，字符串处理，日期处理、数组和切片 注释和 Doc 异常和错误处理 Go 协程 日志 调试 代码规范和习惯用法 安全 性能 生态  web swagger logging db/orm redis cloud/bigdata micro services AI    测试类# 单元测试 性能测试 自动测试  代码规范# Uber Go Cockroach  ">
<meta name="theme-color" content="#FFFFFF"><meta property="og:title" content="" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://example.org/docs/" />

<title>Docs | My Golang Book</title>
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.2bc2364a4a4b31f0ec1debecf0a8f90a840821f143dfe1ac6a0f7cbcbdcf64ac.css" integrity="sha256-K8I2SkpLMfDsHevs8Kj5CoQIIfFD3&#43;Gsag98vL3PZKw=">
<script defer src="/en.search.min.84ce9693e6c02d95376f29aeb794c11824d09ed0440f910f008e91e9ed0436e4.js" integrity="sha256-hM6Wk&#43;bALZU3bymut5TBGCTQntBED5EPAI6R6e0ENuQ="></script>
<link rel="alternate" type="application/rss+xml" href="http://example.org/docs/index.xml" title="My Golang Book" />
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
-->

  
</head>

<body dir="ltr">
  <input type="checkbox" class="hidden toggle" id="menu-control" />
  <input type="checkbox" class="hidden toggle" id="toc-control" />
  <main class="container flex">
    <aside class="book-menu">
      <div class="book-menu-content">
        
  <nav>
<h2 class="book-brand">
  <a href="/"><span>My Golang Book</span>
  </a>
</h2>


<div class="book-search">
  <input type="text" id="book-search-input" placeholder="Search" aria-label="Search" maxlength="64" data-hotkeys="s/" />
  <div class="book-search-spinner hidden"></div>
  <ul id="book-search-results"></ul>
</div>











  



  
  <ul>
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/introduction/" class="">Golang 介绍</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/installation/" class="">安装、准备开发环境</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/go-routine/" class="">并发处理 - Go 协程</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/workspace-module/" class="">管理Go模块</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/erro-handling/" class="">错误处理</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/resources/" class="">Golang 资源</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/statements/" class="">Go For语句</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/guidelines/" class="">Go 开发规范</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/logging/" class="">日志</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/data-init/" class="">Data Init</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/data-types/" class="">Data Types</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/debug/" class="">Debug</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/dynamic-programing/" class="">Dynamic Programing</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/ecosystem/" class="">Ecosystem</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/performance/" class="">Performance</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/struct-interface/" class="">Struct Interface</a>
  

        </li>
      
    
      
        <li>
          
  
  

  
    <a href="http://example.org/docs/struct-tags/" class="">Struct Tags</a>
  

        </li>
      
    
  </ul>















</nav>




  <script>(function(){var a=document.querySelector("aside.book-menu nav");addEventListener("beforeunload",function(b){localStorage.setItem("menu.scrollTop",a.scrollTop)}),a.scrollTop=localStorage.getItem("menu.scrollTop")})()</script>


 
      </div>
    </aside>

    <div class="book-page">
      <header class="book-header">
        
  <div class="flex align-center justify-between">
  <label for="menu-control">
    <img src="/svg/menu.svg" class="book-icon" alt="Menu" />
  </label>

  <strong>Docs</strong>

  <label for="toc-control">
    
    <img src="/svg/toc.svg" class="book-icon" alt="Table of Contents" />
    
  </label>
</div>


  
  <aside class="hidden clearfix">
    
  
<nav id="TableOfContents">
  <ul>
    <li><a href="#内容">内容</a>
      <ul>
        <li><a href="#项目类">项目类</a></li>
        <li><a href="#开发类">开发类</a></li>
        <li><a href="#测试类">测试类</a></li>
      </ul>
    </li>
    <li><a href="#代码规范">代码规范</a></li>
  </ul>
</nav>



  </aside>
  
 
      </header>

      
      
  <article class="markdown"><h1 id="总览">
  总览
  <a class="anchor" href="#%e6%80%bb%e8%a7%88">#</a>
</h1>
<h2 id="内容">
  内容
  <a class="anchor" href="#%e5%86%85%e5%ae%b9">#</a>
</h2>
<h3 id="项目类">
  项目类
  <a class="anchor" href="#%e9%a1%b9%e7%9b%ae%e7%b1%bb">#</a>
</h3>
<ul>
<li><a href="introduction.md">介绍</a></li>
<li><a href="installation.md">安装</a></li>
<li><a href="workspace-module.md">管理 Go 模块</a></li>
<li><a href="debug.md">调试</a></li>
<li>k8s/docker</li>
<li>Formatter 和 Linter</li>
<li><a href="resources.md">资源</a></li>
<li>值得学习的开源项目</li>
</ul>
<h3 id="开发类">
  开发类
  <a class="anchor" href="#%e5%bc%80%e5%8f%91%e7%b1%bb">#</a>
</h3>
<ul>
<li><a href="data-types.md">基本的数据类型</a></li>
<li><a href="data-init.md">变量初始化</a></li>
<li><a href="statements.md">基本的语法</a></li>
<li><a href="struct-tags.md">结构类型 json tags</a></li>
<li>RPC</li>
<li>关键知识点</li>
<li>数据转换，字符串处理，日期处理、数组和切片</li>
<li>注释和 Doc</li>
<li><a href="erro-handling.md">异常和错误处理</a></li>
<li><a href="go-routine.md">Go 协程</a></li>
<li><a href="logging.md">日志</a></li>
<li><a href="debug.md">调试</a></li>
<li><a href="guidelines.md">代码规范和习惯用法</a></li>
<li>安全</li>
<li>性能</li>
<li>生态
<ul>
<li>web</li>
<li>swagger</li>
<li>logging</li>
<li>db/orm</li>
<li>redis</li>
<li>cloud/bigdata</li>
<li>micro services</li>
<li>AI</li>
</ul>
</li>
</ul>
<h3 id="测试类">
  测试类
  <a class="anchor" href="#%e6%b5%8b%e8%af%95%e7%b1%bb">#</a>
</h3>
<ul>
<li>单元测试</li>
<li>性能测试</li>
<li>自动测试</li>
</ul>
<h2 id="代码规范">
  代码规范
  <a class="anchor" href="#%e4%bb%a3%e7%a0%81%e8%a7%84%e8%8c%83">#</a>
</h2>
<ul>
<li><a href="https://github.com/uber-go/guide/blob/master/style.md">Uber Go</a></li>
<li><a href="https://wiki.crdb.io/wiki/spaces/CRDB/pages/181371303/Go&#43;Golang&#43;coding&#43;guidelines">Cockroach</a></li>
</ul>
</article>
 
      

      <footer class="book-footer">
        
  <div class="flex flex-wrap justify-between">





</div>

 
        
      </footer>

      
  
  <div class="book-comments">

</div>
  
 

      <label for="menu-control" class="hidden book-menu-overlay"></label>
    </div>

    
    <aside class="book-toc">
      <div class="book-toc-content">
        
  
<nav id="TableOfContents">
  <ul>
    <li><a href="#内容">内容</a>
      <ul>
        <li><a href="#项目类">项目类</a></li>
        <li><a href="#开发类">开发类</a></li>
        <li><a href="#测试类">测试类</a></li>
      </ul>
    </li>
    <li><a href="#代码规范">代码规范</a></li>
  </ul>
</nav>


 
      </div>
    </aside>
    
  </main>

  
</body>

</html>












